package com.ayq.activiti.manager;

import org.activiti.spring.boot.SecurityAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

@SpringBootApplication(exclude = {SecurityAutoConfiguration.class,org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class})
@MapperScan(value = "com.ayq.activiti.manager.domain.*.repository")
@EnableDiscoveryClient
@ComponentScans({@ComponentScan("com.ayq.activiti.common")})
public class ActivitiManagerAplication {

    public static void main(String[] args) {
        SpringApplication.run(ActivitiManagerAplication.class,args);
    }
}
